package li;

import java.util.Scanner;

public class day96 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("输入字符串");
        String  s=sc.nextLine();
       String  s2= s.replace("TMD","***");
        System.out.println(s2);




    }

}
